$OpenBSD: patch-src_gui_midi_cpp,v 1.1 2012/11/17 14:07:50 ratchov Exp $
--- src/gui/midi.cpp.orig	Sun Nov 11 14:00:40 2012
+++ src/gui/midi.cpp	Sun Nov 11 14:14:18 2012
@@ -86,6 +86,10 @@ MidiHandler Midi_none;
 
 #include "midi_win32.h"
 
+#elif defined (HAVE_SNDIO)
+
+#include "midi_sndio.h"
+
 #else
 
 #include "midi_oss.h"
